package com.atdel.demo10;


/**
 * @BelongsProject: java_study
 * @BelongsPackage: demo10
 * @Author: Del
 * @CreateTime: 2025-03-11  11:24
 * @Description: TODO
 * @Version: 1.0
 */
public class MainTest {
    public static void main(String[] args) throws Exception {

        MyThread mt = new MyThread("线程一");

        mt.start();

        Thread.sleep(10000);

        mt.interrupt();
    }
}
